package net.wofly.sale.order.service;

import java.util.List;

import net.wofly.sale.order.domain.OrderType;

public interface IOrderTypeService {

	/**
	 * 增加或修改
	 * 
	 * @param entity
	 * @return
	 */
	public OrderType save(OrderType entity);

	/**
	 * 删除
	 * 
	 * @param entity
	 * @return
	 */
	public void delete(OrderType entity);

	/**
	 * 根据主键ID删除
	 * 
	 * @param key
	 * @return
	 */
	public void delete(String key);

	/**
	 * 根据主键查询
	 * 
	 * @param key
	 * @return
	 */
	public OrderType findOne(String key);
	
	public List<OrderType> save(List<OrderType> entityList) ;
	
	List<OrderType> findByStatus(Integer status);

}
